﻿namespace HZY.Framework.DependencyInjection.Configs;

public class DependencyInjectionOptions
{
    /// <summary>
    /// 要扫描的程序集
    /// </summary>
    public IEnumerable<Assembly> Assemblies { get; set; } = [];

    /// <summary>
    /// 注册模式
    /// </summary>
    public RegistrationStrategy RegistrationStrategy { get; set; } = RegistrationStrategy.Skip;

    /// <summary>
    /// 额外需要注入的服务
    /// </summary>
    public Action<IImplementationTypeSelector>? RegistrationAction { get; set; }
}
